package cn.com.eado.crm.v.adapter

import android.view.View
import androidx.databinding.library.baseAdapters.BR
import cn.com.eado.crm.R
import cn.com.eado.crm.m.db.AppIcon

class RVIconAdapter(private val clickCallback: ((view: View, pos: Int, appIcon: AppIcon) -> Unit)? = { view, position, bean -> },
                    private val longClickCallback: ((pos: Int, appIcon: AppIcon) -> Unit)? = { position, bean -> })
    : BaseBindingAdapter<AppIcon>(R.layout.icon_item, BR.appIcon, clickCallback, longClickCallback)
